function restoredata(datamatrix, setNo, dropNo, filepath)
%restore the data from seismometer
%     trigger = datamatrix(:,1);
%     acc_A = datamatrix(:,2);
%     trigger_index = find(trigger>2);
    filepath_save = [filepath,'\vcmat\set',num2str(setNo),'\drop',num2str(dropNo)];
    mkdir(filepath_save);
    
%     filename_seis_output = [filepath_save,'\seis.mat'];
%     save(filename_seis_output,'seis_GLCS');
    filename_acc_output = [filepath_save,'\acc.mat'];
    save(filename_acc_output,'datamatrix');
%     filename_trigger = [filepath_save,'\trigger.mat'];
%     save(filename_trigger,'trigger');
%     filename_trigger_index = [filepath_save,'\trigger_index.mat'];
%     save(filename_trigger_index,'trigger_index');
end